package com.zy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("drug")
public class Drug {
    @TableId(value = "yid",type = IdType.AUTO)
    private Integer yid;
    private String yname;
    private Integer ynumber;
    private Integer ycount;
    private Date ydate;
    private Integer yvalidity;
    private Float yprice;

}
